.TH E1432_GET_CURRENT_RMS 3 E1432
.SH NAME
.nf
e1432_get_current_rms \- Get the current RMS of an input channel
e1432_get_current_peak \- Get the current PEAK of an input channel
.fi
.IX e1432_get_current_rms(3) 3
.IX e1432_get_current_peak(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_get_current_rms(E1432ID hw, SHORTSIZ16 ID,
                                 FLOATSIZ32 *rms)
SHORTSIZ16 e1432_get_current_peak(E1432ID hw, SHORTSIZ16 ID,
                                 FLOATSIZ32 *peak)
.cE
.SH DESCRIPTION
These functions are supported only by the E1433 module, and by the
E1432 option 204 module.

\fIe1432_get_current_rms\fR returns the current RMS of an active
input channel into the variable pointed to by \fIrms\fR.  This
function is identical to:
.cS
    e1432_get_current_value(hw, ID, E1432_CURRENT_VAL_RMS, rms);
.cE

\fIe1432_get_current_peak\fR returns the current PEAK of an active
input channel into the variable pointed to by \fIpeak\fR.  This
function is identical to:
.cS
    e1432_get_current_value(hw, ID, E1432_CURRENT_VAL_PEAK, rms);
.cE

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIID\fR is a channel ID of a specific input channel.

\fIrms\fR and \fIpeak\fR are pointers to a 32-bit float which will be filled in with
the requested value.
.SH "RESET VALUE"
After a reset, \fIrms\fR and \fIpeak\fR are set to 0.0.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_set_rms_span, e1432_set_rms_decay_time, e1432_set_peak_span, e1432_set_peak_hold_time
.ad
